
package com.iot.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

import com.iot.common.feign.annotation.EnableFeignClientsExt;
import com.iot.common.swagger.annotation.EnableSwagger2Ex;

@EnableSwagger2Ex
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = { "com.iot" })
@EnableFeignClientsExt(basePackages = "com.iot.common.security.feign")
public class IOTPlatformApplication {

	public static void main(String[] args) {
		SpringApplication.run(IOTPlatformApplication.class, args);
	}

}
